import App from './App'
import Htpp from '@/common/free-lib/request.js';

// import filters from '@/static/filters.js'
import Pay from '@/common/free-lib/pay.js';
// import Bmupload from '@/common/bmupload/upload.js'; 
import module from '@/common/module.js'; 
 import uView from '@/uni_modules/uview-ui'
 Vue.use(uView)
Vue.prototype.Pay = Pay;
Vue.prototype.$module = module;
// Vue.prototype.Bmupload = Bmupload;
// Object.keys(filters).map(v => {
//     Vue.filter(v, filters[v])
// })
Vue.prototype.Htpp = Htpp; 
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App,
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'

 
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif